package code07_面向对象.抽象类;

/**
 * @author 黄衡熙
 * @version 1.0
 * @date 2025年07月21日19:14
 */
public class WoMan extends Person{
    private int appearance;

    public int getAppearance() {
        return appearance;
    }

    public void setAppearance(int appearance) {
        this.appearance = appearance;
    }

    //重写 抽象方法
    @Override
    public void show() {
        System.out.println("这是WoMan子类的方法");
    }
}
